using System;
using System.Collections;
using System.Collections.Generic;

using Framework.Library.Base;

namespace Framework.Library.Domain
{
    public partial class PortalModule : BusinessBase<int>
    {
        #region Declarations

		
		private string _moduleName = String.Empty;
		private string _moduleTitle = String.Empty;
		private string _moduleDescription = String.Empty;
		private string _moduleFolder = String.Empty;
		
		
		private IList<PortalModulecontrol> _portalModulecontrols = new List<PortalModulecontrol>();
		
        #endregion

        #region Constructors

        public PortalModule() { }

        #endregion

        #region Methods

        public override int GetHashCode()
        {
            System.Text.StringBuilder sb = new System.Text.StringBuilder();
            
            sb.Append(this.GetType().FullName);
			sb.Append(_moduleName);
			sb.Append(_moduleTitle);
			sb.Append(_moduleDescription);
			sb.Append(_moduleFolder);

            return sb.ToString().GetHashCode();
        }

        #endregion

        #region Properties

		public virtual string ModuleName
        {
            get { return _moduleName; }
			set
			{
				
				_moduleName = value;
				
			}
        }
		
		public virtual string ModuleTitle
        {
            get { return _moduleTitle; }
			set
			{
				
				_moduleTitle = value;
				
			}
        }
		
		public virtual string ModuleDescription
        {
            get { return _moduleDescription; }
			set
			{
				
				_moduleDescription = value;
				
			}
        }
		
		public virtual string ModuleFolder
        {
            get { return _moduleFolder; }
			set
			{
				
				_moduleFolder = value;
				
			}
        }
		
		public virtual IList<PortalModulecontrol> PortalModulecontrols
        {
            get { return _portalModulecontrols; }
            set
			{
				
				_portalModulecontrols = value;
				
			}
        }
		
        #endregion
    }
}
